package cn.com.dashihui.api.ITask;

import com.jfinal.aop.Duang;
import cn.com.dashihui.api.service.OrderService;

public class CourseReminderTask implements Runnable {
	
	//使用Duang.duang进行封装，使普通类具有事务的功能
	private OrderService services = Duang.duang(OrderService.class);
	
	public void run() {
		System.out.println("LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL执行查询审核通过订单退款开始："+System.currentTimeMillis());
		services.doRefund();
		System.out.println("LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL执行查询审核通过订单退款结束"+System.currentTimeMillis());
	    
	}
}
